# -*- coding: utf-8 -*-
print("====二进制===")
mun1=7
mun2=2
print("====位运算符之（&）===")
print("mun1="+str(bin(mun1)))
print("mun2="+str(bin(mun2)))

print("====位运算符之（|）===")
print("mun1 | mun2:"+str(bin(mun1 | mun2)))
print("mun1 | mun2:"+str(mun1 | mun2))

print("====位运算符之（~）===")
print("~mun1=:"+str(bin(~mun1)))
print("~mun1=:"+str(~mun1))

print("====位运算符之（^）===")
print("mun1 ^ mun2:"+str(bin(mun1 ^ mun2)))
print("mun1 ^ mun2:"+str(mun1 ^ mun2))

print("====位运算符之（>>）===")
print("mun1 >> mun2:"+str(bin(mun1 >> mun2)))
print("mun1 >> mun2："+str(mun1 >> mun2))

print("====位运算符之（<<）===")
print("mun1 << mun2："+str(bin(mun1 << mun2)))
print("mun1 << mun2："+str(mun1 << mun2))